package com.sky.mapper;/**
 * @ProjectName: sky-take-out
 * @Package: com.sky.mapper
 * @ClassName: DishFlavorMapper
 * @Author: 王加其
 * @Date: 2023/4/17 15:21
 * @Version: 1.0
 */

import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *@author:王加其
 *@date:2023/4/17 15:21
 *@modified By:
 **/
@Mapper
public interface DishFlavorMapper {
    /**
     * 批量新增口味数据
     * @param dtoFlavors
     */
    void batchSave(List<DishFlavor> dtoFlavors);

    /**
     * 批量删除口味
     * @param ids
     */
    void batchDelete(List<Long> ids);
}
